CC ?= gcc
OBJS = listing1 listing2 listing3 listing4
#listings = listing1 listing2 listing3 listing4
SRC ?= $(wildcard *.c)
 
OBJECT= ${SRC:.c=.o}
INCLUDES=-I/usr/include/alsa
LDFLAGS=-lasound

.c.o:
	$(CC)  -c $(CFLAGS) $(INCLUDE) $<

a: $(OBJS)
	$(CC)  $(CFLAGS) -o  $(OBJS) $(LIBS) $(DEP_LIBS)

#build_o:$(listings)
#	$(CC) -o $^.o -c $^.c

install:listing1.c listing1.h
	@echo you have typed command "make $@"
	@echo $<
	@echo $^
	@echo $?
